package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/29 17:58
 */
@Setter
@Getter
public class RoleBo extends BaseBo {

    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("商户ID")
    private String mchId;
    @ApiModelProperty("角色名称")
    private String name;
    @ApiModelProperty("角色状态 0 停用 1启用")
    private Byte status;
    @ApiModelProperty("权限列表")
    private List<PermissionBo> permissions;
}
